package com.sangu.dianxiu.bean.repairtype;

import java.io.Serializable;
import java.util.List;

/**
 * 推荐类
 * Created by sg2 on 2016/1/7.
 */
public class RecommendEntity implements Serializable{

    /**
     * rc : 0
     * recommends : [{"id":1,"type":1,"name":"空调维修","comment":"空调维修","imgUrl":"http://192.168.2.88:81/Controls/UploadFile/201601051534364573.jpg"}]
     */

    private int rc;
    /**
     * id : 1
     * type : 1
     * name : 空调维修
     * comment : 空调维修
     * imgUrl : http://192.168.2.88:81/Controls/UploadFile/201601051534364573.jpg
     */

    private List<RecommendsEntity> recommends;

    public void setRc(int rc) {
        this.rc = rc;
    }

    public void setRecommends(List<RecommendsEntity> recommends) {
        this.recommends = recommends;
    }

    public int getRc() {
        return rc;
    }

    public List<RecommendsEntity> getRecommends() {
        return recommends;
    }

    public static class RecommendsEntity {
        private int id;
        private int type;
        private String name;
        private String comment;
        private String imgUrl;

        public void setId(int id) {
            this.id = id;
        }

        public void setType(int type) {
            this.type = type;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public int getId() {
            return id;
        }

        public int getType() {
            return type;
        }

        public String getName() {
            return name;
        }

        public String getComment() {
            return comment;
        }

        public String getImgUrl() {
            return imgUrl;
        }
    }
}
